class User:
    '''用户基本信息类'''
    def __init__(self, first_name, last_name, age, gender):
        self.first_name = first_name
        self.last_name = last_name
        self.age = age
        self.gender = gender

    def describe_user(self):
        print(f"用户全名为：{self.first_name} {self.last_name}")
        print(f"用户年龄为：{self.age}")
        print(f"用户性别为：{self.gender}")

    def greet_user(self, weekend):
        print(f"今天是{weekend}，祝您心情愉快")


alan = User("Alan", "Shelby", 26, "male")
alan.describe_user()
alan.greet_user("Monday")
jack = User("Tompal", "Jack", 18, "male")
jack.describe_user()
jack.greet_user("Sunday")
kim = User("Jone", "Kim", 16, "female")
kim.describe_user()
kim.greet_user("Thusday")
